=get_options ("SELECT Cats3.CatId, Cats.Cat, Cats1.Cat, Cats2.Cat, Cats3.Cat FROM (((Cats As Cats3 left JOIN Cats As Cats2 ON Cats3.ParentId = Cats2.CatId) left JOIN Cats As Cats1 ON Cats2.ParentId = Cats1.CatId) LEFT JOIN Cats As Cats ON Cats1.ParentId = Cats.CatId) WHERE Cats.ParentId is NULL order by (Cats.Cat + Cats1.Cat + Cats2.Cat + Cats3.Cat)", CatID)
%>
</select>
</td>
<td class='labelTD'></td>
</tr>
<tr>
<td class='labelTD'>Resource Type</td>
<td class='dataTD' >
<select name="LinkTypeID" >
<%
=get_options ("SELECT LinkTypeID, LinkType FROM LinkTypes", LinkTypeID)